﻿@model Dal.Entities.Doc0
@{
    Layout = null;
}
@{int ti = 0;}
<table cellspacing="0" summary="table" class="broom_table" width="90%">
    <tbody>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                <span>入组日期</span> <span style="color: Red">*</span>
            </td>
            <td>
                <div class="rili">
                    @Html.TextBox("InputTime", Model != null && Model.InputTime.HasValue ? Model.InputTime.Value.ToString("yyyy-MM-dd") : null, new { @class = "inputbox date-pick", @readonly = "readonly" })
                </div>
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者姓名 <span style="color: Red">*</span>
            </td>
            <td>
                @Html.TextBoxFor(i => i.PatientName, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者年龄
            </td>
            <td>
                @Html.TextBoxFor(i => i.PatientAge, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者性别
            </td>
            <td>
                @Html.RadioButtonFor(i => i.PatientSex, "男")男 @Html.RadioButtonFor(i => i.PatientSex, "女")女
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者职业
            </td>
            <td>
                @Html.TextBoxFor(i => i.PatientJob, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者联系电话 <span style="color: Red">*</span>
            </td>
            <td>
                @Html.TextBoxFor(i => i.PatientTel, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                患者家庭住址
            </td>
            <td>
                @Html.TextBoxFor(i => i.PatientAddress, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
    </tbody>
</table>
